using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace SM.sys
{
	public class frmIntro : Form
	{
		private IContainer components = null;
		private Label label1;
		private Label label2;
		private Label label3;
		private Label label4;
		private Label label5;
		private Label label6;
		private Label label7;
		private Button btnClose;
		private Label label8;
		private Label lblLastUpdate;
		public frmIntro()
		{
			this.InitializeComponent();
		}
		private void btnClose_Click(object sender, EventArgs e)
		{
			base.Close();
		}
		private void frmIntro_KeyDown(object sender, KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Escape)
			{
				base.Close();
			}
		}
		private void frmIntro_Load(object sender, EventArgs e)
		{
			StreamReader streamReader = File.OpenText("logUpdate.txt");
			string str = streamReader.ReadToEnd().Trim().Replace("NEW", "").Trim();
			streamReader.Close();
			this.lblLastUpdate.Text = "Phiên bản cập nhật ngày : " + str;
		}
		protected override void Dispose(bool disposing)
		{
			if (disposing && this.components != null)
			{
				this.components.Dispose();
			}
			base.Dispose(disposing);
		}
		private void InitializeComponent()
		{
			ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmIntro));
			this.label1 = new Label();
			this.label2 = new Label();
			this.label3 = new Label();
			this.label4 = new Label();
			this.label5 = new Label();
			this.label6 = new Label();
			this.label7 = new Label();
			this.btnClose = new Button();
			this.label8 = new Label();
			this.lblLastUpdate = new Label();
			base.SuspendLayout();
			this.label1.AutoSize = true;
			this.label1.BackColor = Color.Transparent;
			this.label1.Font = new Font("Arial", 11.25f, FontStyle.Bold, GraphicsUnit.Point, 163);
			this.label1.Location = new Point(158, 9);
			this.label1.Name = "label1";
			this.label1.Size = new Size(253, 18);
			this.label1.TabIndex = 1;
			this.label1.Text = "PHẦN MỀM QUẢN LÝ NHÀ THUỐC";
			this.label2.AutoSize = true;
			this.label2.BackColor = Color.Transparent;
			this.label2.Location = new Point(158, 79);
			this.label2.Name = "label2";
			this.label2.Size = new Size(225, 15);
			this.label2.TabIndex = 2;
			this.label2.Text = "Sản xuất và giữ toàn bản quyền thuộc về";
			this.label3.AutoSize = true;
			this.label3.BackColor = Color.Transparent;
			this.label3.Font = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 163);
			this.label3.Location = new Point(158, 98);
			this.label3.Name = "label3";
			this.label3.Size = new Size(247, 15);
			this.label3.TabIndex = 3;
			this.label3.Text = "CÔNG TY CỔ PHẦN PHẦN MỀM TRUNG VIỆT";
			this.label4.AutoSize = true;
			this.label4.BackColor = Color.Transparent;
			this.label4.Location = new Point(158, 117);
			this.label4.Name = "label4";
			this.label4.Size = new Size(313, 15);
			this.label4.TabIndex = 4;
			this.label4.Text = "Địa chỉ : Số 7, Lê Văn Hưu, thành phố Vinh, tỉnh Nghệ An";
			this.label5.AutoSize = true;
			this.label5.BackColor = Color.Transparent;
			this.label5.Location = new Point(158, 136);
			this.label5.Name = "label5";
			this.label5.Size = new Size(234, 15);
			this.label5.TabIndex = 5;
			this.label5.Text = "Điện thoại : 0388.903.452 - 0383.552.896";
			this.label6.AutoSize = true;
			this.label6.BackColor = Color.Transparent;
			this.label6.Location = new Point(158, 155);
			this.label6.Name = "label6";
			this.label6.Size = new Size(200, 15);
			this.label6.TabIndex = 6;
			this.label6.Text = "Email : info@trungvietsoftware.com";
			this.label7.AutoSize = true;
			this.label7.BackColor = Color.Transparent;
			this.label7.Location = new Point(158, 174);
			this.label7.Name = "label7";
			this.label7.Size = new Size(333, 15);
			this.label7.TabIndex = 7;
			this.label7.Text = "Website : www.trungvietsoftware.com - www.phanmem.asia";
			this.btnClose.BackColor = SystemColors.ButtonFace;
			this.btnClose.Cursor = Cursors.Hand;
			this.btnClose.FlatStyle = FlatStyle.System;
			this.btnClose.Font = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 163);
			//this.btnClose.ImageAlign = ContentAlignment.MiddleLeft;
			this.btnClose.Location = new Point(392, 195);
			this.btnClose.Name = "btnClose";
			this.btnClose.Size = new Size(97, 28);
			this.btnClose.TabIndex = 8;
			this.btnClose.Text = "Thoát  [ESC]";
			this.btnClose.UseVisualStyleBackColor = false;
			this.btnClose.Click += new EventHandler(this.btnClose_Click);
			this.label8.BackColor = Color.White;
			this.label8.FlatStyle = FlatStyle.Flat;
//			this.label8.Image = (Image)componentResourceManager.GetObject("label8.Image");
			this.label8.Location = new Point(1, 13);
			this.label8.Name = "label8";
			this.label8.Size = new Size(158, 187);
			this.label8.TabIndex = 9;
			this.lblLastUpdate.BackColor = Color.Transparent;
			this.lblLastUpdate.Location = new Point(161, 37);
			this.lblLastUpdate.Name = "lblLastUpdate";
			this.lblLastUpdate.Size = new Size(330, 20);
			this.lblLastUpdate.TabIndex = 10;
			this.lblLastUpdate.Text = "-;-";
			this.lblLastUpdate.TextAlign = ContentAlignment.MiddleCenter;
			base.AutoScaleDimensions = new SizeF(7f, 15f);
			//base.AutoScaleMode = AutoScaleMode.Font;
			this.BackColor = Color.White;
			base.ClientSize = new Size(499, 232);
			base.Controls.Add(this.lblLastUpdate);
			base.Controls.Add(this.btnClose);
			base.Controls.Add(this.label7);
			base.Controls.Add(this.label6);
			base.Controls.Add(this.label5);
			base.Controls.Add(this.label4);
			base.Controls.Add(this.label3);
			base.Controls.Add(this.label2);
			base.Controls.Add(this.label1);
			base.Controls.Add(this.label8);
			this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 163);
			//base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
			//base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
			base.KeyPreview = true;
			base.MaximizeBox = false;
			this.MaximumSize = new Size(515, 266);
			base.MinimizeBox = false;
			this.MinimumSize = new Size(515, 266);
			base.Name = "frmIntro";
			base.ShowInTaskbar = false;
			base.StartPosition = FormStartPosition.CenterScreen;
			this.Text = " .: Giới thiệu";
			base.Load += new EventHandler(this.frmIntro_Load);
			base.KeyDown += new KeyEventHandler(this.frmIntro_KeyDown);
			base.ResumeLayout(false);
			base.PerformLayout();
		}
	}
}
